]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
search: Rename SearchResults to SearchResultsView
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Wed, 16 Oct 2019 09:31:44 +0000 (11:31 +0200)
committerMarco Trevisan (Treviño) <mail@3v1n0.net>
Wed, 16 Oct 2019 09:52:55 +0000 (11:52 +0200)
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/765

js/ui/search.js
js/ui/viewSelector.js

index 8d70d35abbbc222c0830d723eaa430dca8eb7336..6485b57e86c5afc2b9dc6ce548e0cd73046068ad 100644 (file)
@@ -1,4 +1,5 @@
 // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
+/* exported SearchResultsView */
 
 const { Clutter, Gio, GLib, GObject, Meta, Shell, St } = imports.gi;
 const Signals = imports.signals;
@@ -409,7 +410,7 @@ var GridSearchResults = class extends SearchResultsBase {
 };
 Signals.addSignalMethods(GridSearchResults.prototype);
 
-var SearchResults = class {
+var SearchResultsView = class {
     constructor() {
         this.actor = new St.BoxLayout({ name: 'searchResults',
                                         vertical: true });
@@ -744,7 +745,7 @@ var SearchResults = class {
         return description.replace(this._highlightRegex, '<b>$1</b>');
     }
 };
-Signals.addSignalMethods(SearchResults.prototype);
+Signals.addSignalMethods(SearchResultsView.prototype);
 
 var ProviderInfo = GObject.registerClass(
 class ProviderInfo extends St.Button {
index 4e82c4968b693ba7d51370640b696c9a3ed2f4b0..b7b7104d091aa0479b80c7f77d982447016a67c8 100644 (file)
@@ -172,7 +172,7 @@ var ViewSelector = class {
         this._appsPage = this._addPage(this.appDisplay.actor,
                                        _("Applications"), 'view-app-grid-symbolic');
 
-        this._searchResults = new Search.SearchResults();
+        this._searchResults = new Search.SearchResultsView();
         this._searchPage = this._addPage(this._searchResults.actor,
                                          _("Search"), 'edit-find-symbolic',
                                          { a11yFocus: this._entry });